<?php echo $this->element('menu'); ?>
<table>
	<tr>
		<th>name</th>
		<th>description</th>
		<th>image</th>
		<th>creadted</th>
		<th>action</th>
	</tr>
	<?php $i=0; foreach($images as $image): $i++; ?>
	<tr>
		<td><?php echo $image['Image']['name'] ?></td>
		<td><?php echo $this->Html->image($image['Image']['url'], array('alt' => 'CakePHP')); ?>
		<td><?php echo $image['Image']['description']; ?></td>
		<td><?php echo $image['Image']['created']; ?></td>
		<td><?php 
				echo $this->Html->link('pin image', array('action'=>'pinImageIntoBoard', $boardId, $image['Image']['id']));
			?></td>
	</tr>
	<?php endforeach; ?>
</table>
<?php echo $this->Html->link('list boards', array('action'=>'viewInfoBoards'));?>